﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Thesis_v01
{
   public partial class WebBrowser : Form
   {
      public WebBrowser()
      {
         InitializeComponent();
      }

      public void Navigate(string address)
      {
         webBrowser1.Navigate("about:blank");
         webBrowser1.Navigate(address);
      }

      private void toolStripButton1_Click(object sender, EventArgs e)
      {
         //this.Hide();
      }

      protected override void OnFormClosing(FormClosingEventArgs e)
      {
         this.Hide();
         e.Cancel = true;
      }
   }
}
